/**
 * 
 */
package cn.biplam.front.page.mainpage;

import cn.biplam.common.wrapper.ErrorMessage;
import cn.biplam.common.wrapper.UserInfo;
import cn.biplam.front.component.data.common.CaptionComp;
import cn.biplam.front.html.base.HtmlWindow;
import cn.biplam.front.template.base.ButtonImage;


/**
 * Banner的日志管理按钮
 * @author 	WangSong
 * @create 	2009-4-9 下午01:26:08
 * @version 1.0
 */
public class LogButton{

	
	public static HtmlWindow get(UserInfo user,String home) throws ErrorMessage{
		HtmlWindow button=new ButtonImage(
				"button_log",
				home+"/images/log.gif"
		).get();
		button.setTitle(CaptionComp.get(user, "194"));

		return button;
	}
}
